<?php include '../template/template_main.tpl'; 
require("../connect/connect.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/template.css" />
<link rel="stylesheet" type="text/css" href="../css/corpo_main.css" />
<script type="text/javascript" src="../js/jquery-1.7.2.js" ></script>
<script type="text/javascript" src="../js/main.js" ></script>

<title>.:MateMatrix:.</title>

</head>
<body>
	<?php makeHeader(); ?>
	<?php echo $estruturaInicio;?>
	<div id="title">
		<h1>- Regulamento -</h1>
	</div>
		<div>
		<ol  id="lista_reg">
			<?php 
			$lines = file('../lib/regulamento.txt', FILE_TEXT);

			foreach ($lines as $line_num => $line) {
				$line = htmlspecialchars($line);
			    echo "<li>$line</li>";
			}
			?>
		</ol>	
	</div>
	
	<?php echo $estruturaFim; ?>
	<?php echo $footer;?>
</body>
</html>